//
//  ZPositionCell.h
//  WeClubs
//
//  Created by Zed Link on 2/5/2017.
//  Copyright © 2017 Zed. All rights reserved.
//

#import "ZTableViewCell.h"

typedef enum : NSUInteger {
    ZPositionStateUnset = 0,
    ZPositionStateConfigurated,
} ZPositionState;

@interface ZPositionCell : ZTableViewCell

/** 状态 */
@property (assign, nonatomic) ZPositionState state;

/** 设置索引 */
- (void)setIndex:(NSInteger)index;

/** 设置职位描述 */
- (void)setPosition:(NSString *)position;

/** 权限数据源 */
@property (strong, nonatomic) NSArray *powerDataSource;

/** 点击职位选择后触发代码块 */
@property (copy, nonatomic) void(^didSelectPositionChose)();

/** 点击权限设置后触发代码块 */
@property (copy, nonatomic) void(^didSelectPowerChose)();

@end
